Problem Note 68189: The PlatformWebServices.log file is not populated in the correct location
In SAS® 9.4M7 (TS1M7) and SAS® 9.4M8 (TS1M8), the PlatformWebServices.log file might not be created in the expected path.
On UNIX operating systems, directories might be created with the name ${env:GUI_LOGDIR}. On Microsoft Windows operating systems, the PlatformWebServices.log file might not be created at all.
This issue can occur if the GUI_LOGDIR environment variable is not set in the Web Application Server.
Circumvention
On UNIX operating systems, complete these steps:
- Navigate to SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer14_1/bin/. Add the following line in the setenv.sh file:
export GUI_LOGDIR="$CATALINA_BASE/logs/"
- Confirm that there is a SASGridManager-log4j.xml file in the folder SAS-configuration-directory/Lev1/Web/Common/LogConfig. If the file is not there, refer to SAS Note 68188, "The SAS® Grid Manager log does not populate as expected for Platform Web Services."
- Restart SASServer14 with the following commands:
SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer14_1/bin/tcruntime-ctl.sh stop
SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer14_1/bin/tcruntime-ctl.sh start
- Confirm that the PlatformWebServices.log file is created in the folder SAS-configuration-directory/Lev1/Web/WebAppServer/SASServer14_1/logs.
- After you confirm that the file is present, remove the ${env:GUI_LOGDIR} directories.
On Windows operating systems, complete these steps:
- Navigate to SAS-configuration-directory\Lev1\Web\WebAppServer\SASServer14_1\conf\. Open wrapper.conf and go to the set section at the top of the file. If the following line is present, remove it:
set.GUI_LOGDIR=$CATALINA_BASE/logs/
If the following line is not present, add it:
set.GUI_LOGDIR=%CATALINA_BASE%/logs/
- Rebuild the Windows Service for SASServer14_1, as described here:
Rebuild Windows Service for Each SAS Web Application Server Instance
- Start the SASServer14_1 service.
- Confirm that the PlatformWebServices.log file is created in SAS-configuration-directory\Lev1\Web\WebAppServer\SASServer14_1\logs.
Operating System and Release Information
SAS System | Platform Web Services for SAS | Microsoft® Windows® for x64 | 1.7 | 1.7 | 9.4 TS1M7 | 9.4 TS1M8 |
64-bit Enabled AIX | 1.7 | 1.7 | 9.4 TS1M7 | 9.4 TS1M8 |
64-bit Enabled Solaris | 1.7 | 1.7 | 9.4 TS1M7 | 9.4 TS1M8 |
HP-UX IPF | 1.7 | 1.7 | 9.4 TS1M7 | 9.4 TS1M8 |
Linux for x64 | 1.7 | 1.7 | 9.4 TS1M7 | 9.4 TS1M8 |
Solaris for x64 | 1.7 | 1.7 | 9.4 TS1M7 | 9.4 TS1M8 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2023-08-11 10:29:08 |
Date Created: | 2021-07-28 17:02:48 |